package com.dhj.jvmstudy.chapter06;

import java.text.MessageFormat;

/**
 * 自己测试
 */
public class MainTest {
    public static void main(String[] args) {
        int a1 = 1;
        int a2 = 2;
        //
        String str = "hello "+a1+" world. "+a2;

        MessageFormat.format("参数{0}参数{1}",a1, a2);

    }
}
